class CreateTableImages < ActiveRecord::Migration
  def self.up
    create_table :images do |t|
      t.column :name, :string, :null => false
      t.column :comment, :string, :null => false
      t.column :author, :string, :null=> false
    end
  end

  def self.down
    drop_table :images
  end
end
